import request from '@/utils/request';

export async function fetchApplicantList(param) {
    return request('/api/oa/v1/workflow/analyse/applypeoplesweatall', {
        data: param,
        method: 'POST'
    });
}

export async function fetchCommonWorkflowList(param) {
    return request(
        '/api/oa/v1/workflow/analyse/commonworkflowdistributionall',
        {
            data: param,
            method: 'POST'
        }
    );
}

export async function fetchApproverList(param) {
    return request('/api/oa/v1/workflow/analyse/processpeoplesweatall', {
        data: param,
        method: 'POST'
    });
}
